package com.ruoyi.system.service;

import com.alibaba.fastjson2.JSONObject;
import com.ruoyi.common.core.page.Page;
import com.ruoyi.system.domain.request.bigscreen.AlarmStatisticsParam;
import com.ruoyi.system.domain.request.bigscreen.AvgOnlineRateParam;
import com.ruoyi.system.domain.request.bigscreen.PhotoStatisticsParam;
import com.ruoyi.system.domain.vo.reportstatistics.Photo;

/**
 * 描述 数据大屏Service
 * 作者 ZhangPing
 * 创建时间 2023/9/26 16:19
 */
public interface BigScreenService {

    /**
     * 设备统计
     * @return
     */
    public JSONObject deviceStatistics(AvgOnlineRateParam param);

    /**
     * 设备里程排行
     * @return
     */
    public JSONObject deviceMileageRank(AvgOnlineRateParam param);

    /**
     * 拍照统计
     * @return
     */
    public JSONObject photoStatistics(PhotoStatisticsParam param);

    /**
     * 报警统计
     * @param param
     * @return
     */
    public Page<JSONObject> alarmStatistics(AlarmStatisticsParam param);

}
